Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvements to django.contrib.auth #246

Merged
merged 15 commits into from
Jun 1, 2024
Merged

Conversation

noelleleigh
Copy link

The highlight of this PR is changing get_user_model() to return type[AbstractUser], which much more useful than type[AbstractBaseUser].

See commits for details and commentary.

) -> None: ...

class User(AbstractUser):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this meant to be deleted?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not deleted, it's just moved down to line 111

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh whoops! thank you!

@kodiakhq kodiakhq bot merged commit f889fc4 into sbdchd:main Jun 1, 2024
2 checks passed
@noelleleigh noelleleigh deleted the contrib/auth branch June 3, 2024 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants